﻿namespace ZhonTai.Admin.Services.View.Dto;

/// <summary>
/// 视图列表
/// </summary>
public class ViewGetListOutput
{
    /// <summary>
    /// 视图Id
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 视图父级
    /// </summary>
    public long? ParentId { get; set; }

    /// <summary>
    /// 平台
    /// </summary>
    public string Platform { get; set; }

    /// <summary>
    /// 视图命名
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 视图名称
    /// </summary>
    public string Label { get; set; }

    /// <summary>
    /// 视图路径
    /// </summary>
    public string Path { get; set; }

    /// <summary>
    /// 缓存
    /// </summary>
    public bool Cache { get; set; } = true;

    /// <summary>
    /// 排序
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 启用
    /// </summary>
    public bool Enabled { get; set; }

    /// <summary>
    /// 说明
    /// </summary>
    public string Description { get; set; }
}